
$(document).ready(function(){
	var props = new Object();
		props.wrapperClassName 	= "rs_accordion_wrapper";
		props.tabClassName 		= "rs_accordion_tab";
		props.wrapperClassName 	= "rs_accordion_content";
		//
	var accordion = $("#example").RSAccordion(props); 
	var secondItem = accordion.getItemByIndex(1);
	var tiltle = $(secondItem).find("a").html();
	alert("The title of the second tab is: " + tiltle);
});